
function h(n, t) {
    // t = t || u();
    t = "xyz517cda96efgh"
    for (var e = (n = n.split("")).length, r = t.length, i = 0; i < e; i++)
        n[i] = o(n[i].charCodeAt(0) ^ t[(i + 10) % r].toString().charCodeAt(0)),output = n.map(formatItem);
    return output.join('')
}
function o(n) {
    t = 'fromCharCode',
    ["66", "72", "6f", "6d", "43", "68", "61", "72", "43", "6f", "64", "65"].forEach(function(n) {
        t += unescape("%u00"+n)
    });
    var t, e = t;
    return String.fromCharCode(n)
}
function formatItem(item) {
  // 判断是否是可打印字符
  if (item.match(/^[\x20-\x7E]$/)) {
    return item;
  } else {
    // 对于不可打印字符，返回其十六进制表示形式
    return "\\x" + item.charCodeAt(0).toString(16).padStart(2, '0');
  }}


const args = process.argv.slice(2);
n=args[0]


var n
var s=Date.now() - 1000 * n;
var r = n * 1000 - s - 1661224081041
var url = "/rank/indexPlus/brand_id/1"
var a = "@#" + url + "@#" + r + "@#3"
var d = "xyz517cda96efgh"
// console.log(h(a, d));
var list= [h(a, d),s.toString()]
// return [h(a, d),s]
console.log(list);
